<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="row">
        <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
            <label class="control-label col-xs-4">身份证号</label>
            <div class="col-xs-8">
                <input type="text" class="form-control" disabled="disabled" name="row[idnumber]" value="{$row.idnumber}" id="idnumber" data-index="4">
            </div>
        </div>

        <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
            <label class="control-label col-xs-4">客户姓名</label>
            <div class="col-xs-6">
                <input type="text" class="form-control" name="row[name]" value="{$row.name}">
            </div>
        </div>

        <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
            <label class="control-label col-xs-4">客户电话</label>
            <div class="col-xs-6">
                <input type="text" class="form-control" name="row[mobile]" value="{$row.mobile}">
            </div>
        </div>

        <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
            <label class="control-label col-xs-4">户籍地址</label>
            <div class="col-xs-8">
                <input type="text" class="form-control" name="row[address0]" value="{$row.address0}" >
            </div>
        </div>

        <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
            <label class="control-label col-xs-4">现住地址</label>
            <div class="col-xs-8">
                <input type="text" class="form-control" name="row[address1]" value="{$row.address1}" >
            </div>
        </div>

        <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
            <label class="control-label col-xs-4">银行卡号</label>
            <div class="col-xs-8">
                <input type="text" class="form-control" name="row[bankcardnumber]" value="{$row.bankcardnumber}" >
            </div>
        </div>

        <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
            <label class="control-label col-xs-4">客户备注:</label>
            <div class="col-xs-8">
                <textarea id="c-note" class="form-control " rows="2" name="row[note]" cols="20">{$row.note}</textarea>
            </div>
        </div>

        <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
            <div class="col-sm-8 col-xs-offset-4">
                <button type="submit" class="btn btn-success col-xs-8">保存</button>
            </div>
        </div>
    </div>
</form>

<div class="panel panel-default panel-intro">
    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
           width="100%">
    </table>

</div>
